@import "../common";
@import "../components/crumbs";

.add_wrap{

  font-size: 14px;
  
    // overflow: auto;
    // height: calc(100% - 65px);
    padding-left: 15px;
    border: 1px solid $border-color-default;
    background-color: $color-white;
    position: relative;
    // max-height: 820px;
    display: flex;

    .left-container{
        flex-shrink: 0;
        width: 1000px;
        .tit{
          width: 100%;
          height: 55px;
          line-height: 55px;
          border-bottom: 1px solid $border-color-default;
          
          display: flex;
          justify-content: space-between;
          align-items: center;
          h2{
            padding: 0 15px;
            font-size: 20px;
          }
        }
        .el-form{
          width: 100%;
          padding-top: 6px;
          >.el-row{
            padding: 30px 0 10px;
            border-bottom: 1px solid #d7d7d7;
            &:last-child{
              border: 0 none;
            }
            .el-form-item {
              display: inline;
              float: left;
              width: 50%;
              .el-form-item__label{
                height: 30px;
                line-height: 31px;
                color: $color-black;
              }
              .el-form-item__content{
                position: relative;
                line-height: 30px;
                .el-textarea__inner{
                  border: 1px solid #d7d7d7;
                  background-color: #f7f7f7;
                }
                .el-cascader,.el-select,.el-date-editor{
                  width: 100%;
                  line-height: 30px;
                  .el-input {
                    .el-input__inner{
                      width: 100%;
                      height: 30px;
                    }
                  }
                }
                .el-input {
                  .el-input__inner {
                    height: 30px;
                    line-height: 30px;
                    border: 1px solid #d7d7d7;
                    background-color: #f7f7f7;
                  }
                  .el-input__icon{
                    line-height: 30px;
                  }
                }
              }
            }
            .img_item{
              width: 100%;
              clear: both;
              .el-form-item__label{
                height: 130px;
                line-height: 130px;
              }
              .el-form-item__content{
                .img{
                  display: inline-block;
                  width: 300px;
                  height: 300px;
                  line-height: 300px;
                  border: 1px solid $border-color-default;
                  background: #f7f7f7;
                  text-align: center;
                  overflow: hidden;
                  .el-form-item__content{
                    width: 300px;
                    height: 300px;
                    line-height: 300px;
                    text-align: center;
                  }
                  img{
                    width: 100%;
                  }
                  &.photo{
                    width: 120px;
                    height: 120px;
                    line-height: 120px;
                    border-radius: 50%;
                    .el-form-item__content{
                      width: 120px;
                      height: 120px;
                      line-height: 120px;
                    }
                  }
                  i{
                    font-size: 50px;
                    color:#d7d7d7;
                    vertical-align: middle;
                  }
                }
                .img_card{
                  display: inline-block;
                  width: 300px;
                  height: 200px;
                  line-height: 200px;
                  border: 1px solid $border-color-default;
                  border-radius: 2%;
                  background: #f7f7f7;
                  text-align: center;
                  overflow: hidden;
                  .el-form-item__content{
                    width: 300px;
                    height: 200px;
                    line-height: 200px;
                    text-align: center;
                  }
                  img{
                    width: 100%;
                  }
                  &.photo{
                    width: 120px;
                    height: 120px;
                    line-height: 120px;
                    border-radius: 50%;
                    .el-form-item__content{
                      width: 120px;
                      height: 120px;
                      line-height: 120px;
                    }
                  }
                  i{
                    font-size: 50px;
                    color:#d7d7d7;
                    vertical-align: middle;
                  }
                }
                .el-input.photo_input {
                  &.file {
                    width: 120px;
                    height: 120px;
                  }
                  &.file_card {
                    width: 300px;
                    height: 200px;
                  }
                }
                .txt{
                  display: inline-block;
                  width: 200px;
                  line-height: 15px;
                  font-size: 12px;
                  vertical-align: top;
                  margin: 0 0 0 20px;
                  span{
                    color: $color-gray;
                  }
                  .el-date-editor{
                    margin-top:10px;
                    .el-input__icon{
                      line-height: 30px;
                    }
                  }
                  &.photo_txt{
                    margin-top: 40px;
                  }
                }
                .el-input{
                  &.file{
                    position: absolute;
                    top: 0;
                    left: 0;
                    width: 300px;
                    height: 300px;
                    border-radius: 50%;
                    overflow: hidden;
                    opacity: 0;
                    .el-input__inner{
                      width: 100%;
                      height: 100%;
                    }
                  }
                  &.file_card{
                    position: absolute;
                    top: 0;
                    left: 0;
                    width: 300px;
                    height: 200px;
                    border-radius: 50%;
                    overflow: hidden;
                    opacity: 0;
                    .el-input__inner{
                      width: 100%;
                      height: 100%;
                    }
                  }
                }
              }
            }
            // 药品图片上传样式上传
            .location_item{
              height: 60px;
              width: 100%;
              line-height: 60px;
              .el-input {
                .el-input__inner{
                  height: 30px;
                }
              }
            }
          }
          .avatar-uploader .el-upload {
            border: 1px dashed #d9d9d9;
            border-radius: 6px;
            cursor: pointer;
            position: relative;
            overflow: hidden;
          }
          .avatar-uploader .el-upload:hover {
            border-color: #409EFF;
          }
          .avatar-uploader-icon {
            font-size: 28px;
            color: #8c939d;
            width: 178px;
            height: 178px;
            line-height: 178px;
            text-align: center;
          }
          .avatar {
            width: 178px;
            height: 178px;
            display: block;
          }
        }
        // 批量新增时的特殊样式 - 以id选择器修改
        #batch_width {
          width: 805px;
        }
        #batch_tit{
          width: 810px;
          display: flex;
          flex-direction: row;
          justify-content: space-between;
          align-items: center;
          .el-switch{
            display:block;
            margin-right: 10px;
          }
        }

        // 2021.5.21 by lsx
        // 设置多级收样员后方按钮排列的样式
        // #groupSyUser{
        //   // 选择框后续放两个按钮 
        //   .el-select{
        //     width: 229px;
        //   }
        //   button{
        //     padding: 5px 5px;
        //     font-size: 19px;
        //     margin-left: 0;
        //   }
        // }
        #groupSyUser{
          // 选择框后，只有一个增加按钮
          .el-select{
            width: 264px;
          }
          button{
            padding: 5px 5px;
            font-size: 19px;
            margin-left: 0;
          }
          
        }
    }
    
    .right-container{
      margin-left: 20px;
      padding-left: 10px;
      border-left: 1px solid #e6e6e6;
      width: 600px;
      flex-shrink: 0;
    }

  
}